package com.rock.minibatis.executor;

import com.rock.minibatis.mapping.MappedStatement;

import java.sql.SQLException;
import java.util.List;

public interface Executor {

    //for query
    <E> List<E> query(MappedStatement var1, Object var2) throws SQLException;

    //for update
    //int update(MappedStatement var1, Object var2) throws SQLException;

}
